<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysUomBean.id}"/>
		<f:event type="preRenderView" listener="#{sysUomBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sys Uom"/>

	<ui:define name="header">
		Sys Uom
	</ui:define>

	<ui:define name="subheader">
		View existing Sys Uom
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sysUomBeanSysUomUomNo" value="Uom No:"/>
			<h:outputText id="sysUomBeanSysUomUomNo" value="#{sysUomBean.sysUom.uomNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysUomBeanSysUomUomCode" value="Uom Code:"/>
			<h:outputText id="sysUomBeanSysUomUomCode" value="#{sysUomBean.sysUom.uomCode}"/>
			<h:outputText/>
			<h:outputLabel for="sysUomBeanSysUomUomName" value="Uom Name:"/>
			<h:outputText id="sysUomBeanSysUomUomName" value="#{sysUomBean.sysUom.uomName}"/>
			<h:outputText/>
			<h:outputLabel for="sysUomBeanSysUomUomDescr" value="Uom Descr:"/>
			<h:outputText id="sysUomBeanSysUomUomDescr" value="#{sysUomBean.sysUom.uomDescr}"/>
			<h:outputText/>
			<h:outputLabel for="sysUomBeanSysUomMmLocationsForLctAreaSizeUomNo" value="Mm Locations For Lct Area Size Uom No:"/>
			<h:dataTable id="sysUomBeanSysUomMmLocationsForLctAreaSizeUomNo" styleClass="data-table" value="#{forgeview:asList(sysUomBean.sysUom.mmLocationsForLctAreaSizeUomNo)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Lct No"/>
					</f:facet>
					<h:link outcome="/mmLocation/view">
						<f:param name="id" value="#{_item.lctNo}"/>
						<h:outputText id="itemLctNo" value="#{_item.lctNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Lct Seq No"/>
					</f:facet>
					<h:link outcome="/mmLocation/view">
						<f:param name="id" value="#{_item.lctNo}"/>
						<h:outputText id="itemLctSeqNo" value="#{_item.lctSeqNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Lct Area Size"/>
					</f:facet>
					<h:link outcome="/mmLocation/view">
						<f:param name="id" value="#{_item.lctNo}"/>
						<h:outputText id="itemLctAreaSize" value="#{_item.lctAreaSize}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Lct Width"/>
					</f:facet>
					<h:link outcome="/mmLocation/view">
						<f:param name="id" value="#{_item.lctNo}"/>
						<h:outputText id="itemLctWidth" value="#{_item.lctWidth}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Lct Length"/>
					</f:facet>
					<h:link outcome="/mmLocation/view">
						<f:param name="id" value="#{_item.lctNo}"/>
						<h:outputText id="itemLctLength" value="#{_item.lctLength}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysUomBeanSysUomMmLocationsForLctDimUomNo" value="Mm Locations For Lct Dim Uom No:"/>
			<h:dataTable id="sysUomBeanSysUomMmLocationsForLctDimUomNo" styleClass="data-table" value="#{forgeview:asList(sysUomBean.sysUom.mmLocationsForLctDimUomNo)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Lct No"/>
					</f:facet>
					<h:link outcome="/mmLocation/view">
						<f:param name="id" value="#{_item.lctNo}"/>
						<h:outputText id="itemLctNo" value="#{_item.lctNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Lct Seq No"/>
					</f:facet>
					<h:link outcome="/mmLocation/view">
						<f:param name="id" value="#{_item.lctNo}"/>
						<h:outputText id="itemLctSeqNo" value="#{_item.lctSeqNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Lct Area Size"/>
					</f:facet>
					<h:link outcome="/mmLocation/view">
						<f:param name="id" value="#{_item.lctNo}"/>
						<h:outputText id="itemLctAreaSize" value="#{_item.lctAreaSize}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Lct Width"/>
					</f:facet>
					<h:link outcome="/mmLocation/view">
						<f:param name="id" value="#{_item.lctNo}"/>
						<h:outputText id="itemLctWidth" value="#{_item.lctWidth}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Lct Length"/>
					</f:facet>
					<h:link outcome="/mmLocation/view">
						<f:param name="id" value="#{_item.lctNo}"/>
						<h:outputText id="itemLctLength" value="#{_item.lctLength}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysUomBeanSysUomPcPurchaseReceiptItems" value="Pc Purchase Receipt Items:"/>
			<h:dataTable id="sysUomBeanSysUomPcPurchaseReceiptItems" styleClass="data-table" value="#{forgeview:asList(sysUomBean.sysUom.pcPurchaseReceiptItems)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Qty"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceiptItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemRcptQty" value="#{_item.rcptQty}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Ppu"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceiptItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemRcptPpu" value="#{_item.rcptPpu}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Vat Perc Val"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceiptItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemRcptVatPercVal" value="#{_item.rcptVatPercVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Vat Val"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceiptItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemRcptVatVal" value="#{_item.rcptVatVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Total Price Exc Vat"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceiptItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemRcptTotalPriceExcVat" value="#{_item.rcptTotalPriceExcVat}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysUomBeanSysUomPcPurchaseOrderItems" value="Pc Purchase Order Items:"/>
			<h:dataTable id="sysUomBeanSysUomPcPurchaseOrderItems" styleClass="data-table" value="#{forgeview:asList(sysUomBean.sysUom.pcPurchaseOrderItems)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po Qty"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrderItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPoQty" value="#{_item.poQty}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po Ppu"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrderItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPoPpu" value="#{_item.poPpu}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po Status Inc Vat"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrderItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPoStatusIncVat" value="#{_item.poStatusIncVat}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po Vat Perc Val"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrderItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPoVatPercVal" value="#{_item.poVatPercVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po Vat Val"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrderItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPoVatVal" value="#{_item.poVatVal}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysUomBeanSysUomPcPurchaseReqItems" value="Pc Purchase Req Items:"/>
			<h:dataTable id="sysUomBeanSysUomPcPurchaseReqItems" styleClass="data-table" value="#{forgeview:asList(sysUomBean.sysUom.pcPurchaseReqItems)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pr Qty"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReqItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPrQty" value="#{_item.prQty}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pr Ppu"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReqItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPrPpu" value="#{_item.prPpu}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pr Status Inc Vat"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReqItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPrStatusIncVat" value="#{_item.prStatusIncVat}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pr Vat Perc Val"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReqItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPrVatPercVal" value="#{_item.prVatPercVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pr Vat Val"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReqItem/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPrVatVal" value="#{_item.prVatVal}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>